package logic;
import java.awt.Rectangle;
import java.util.ArrayList;

public class Piece {
/*
 * Atributes
 */	
	final public static int INACTIVE	= 0;
	final public static int ACTIVE		= 1;
	protected Rectangle position;
	protected Block[] blocks;
	
/*
 * Constructors
 */
	public Piece(int numBlocks){
		blocks = new Block[numBlocks];
		for(int i = 0; i < numBlocks; i++){
			blocks[i] = new Block(hashCode(), i);
		}
	}
	
/*
 * Getters
 */
	public Rectangle getPosition(){
		return position;
	}
	
	public Block[] getBlocks(){
		return blocks;
	}
/*
 * Setters
 */	
}
